package model;

public class Player {

	/**
	 * Class Player is for counting players points and total wins and storing
	 * the image they've chosen.
	 * 
	 * P1 and p2 instances are created in Class PlayerControl
	 */
	private int chosenImage;
	private int currentPoints;
	private int totalWins;
	private String name;

	public Player(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void increasePoints() {
		++currentPoints;
	}

	public int getChosenImage() {
		return chosenImage;
	}

	public void setChosenImage(int chosenImage) {
		this.chosenImage = chosenImage;
	}

	public int getCurrentPoints() {
		return currentPoints;
	}

	public void setCurrentPoints(int currentPoints) {
		this.currentPoints = currentPoints;
	}

	public int getTotalWins() {
		return totalWins;
	}

	public void setTotalWins(int totalWins) {
		this.totalWins = totalWins;
	}

}
